
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-shortmessage"></i>
                    <div class="name">短信</div>
                    <div class="fontclass">.icon-shortmessage</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ategories"></i>
                    <div class="name">文章分类</div>
                    <div class="fontclass">.icon-ategories</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bankcard"></i>
                    <div class="name">银行卡</div>
                    <div class="fontclass">.icon-bankcard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-recommend"></i>
                    <div class="name">推荐-01</div>
                    <div class="fontclass">.icon-recommend</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-property"></i>
                    <div class="name">终端属性</div>
                    <div class="fontclass">.icon-property</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-site"></i>
                    <div class="name">地址</div>
                    <div class="fontclass">.icon-site</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-capital"></i>
                    <div class="name">资金管理</div>
                    <div class="fontclass">.icon-capital</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-indent"></i>
                    <div class="name">订单</div>
                    <div class="fontclass">.icon-indent</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-about"></i>
                    <div class="name">功能简介</div>
                    <div class="fontclass">.icon-about</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-providedbytheintegral"></i>
                    <div class="name">积分</div>
                    <div class="fontclass">.icon-providedbytheintegral</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yashumoney"></i>
                    <div class="name">积分</div>
                    <div class="fontclass">.icon-yashumoney</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bill"></i>
                    <div class="name">账单</div>
                    <div class="fontclass">.icon-bill</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-note"></i>
                    <div class="name">短信</div>
                    <div class="fontclass">.icon-note</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-integration"></i>
                    <div class="name">131-积分</div>
                    <div class="fontclass">.icon-integration</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yashugoods"></i>
                    <div class="name">三足鼎</div>
                    <div class="fontclass">.icon-yashugoods</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-defaultavatar"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-defaultavatar</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-feedback"></i>
                    <div class="name">反馈</div>
                    <div class="fontclass">.icon-feedback</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bangzhu"></i>
                    <div class="name">帮助</div>
                    <div class="fontclass">.icon-bangzhu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-userpermission"></i>
                    <div class="name">权限</div>
                    <div class="fontclass">.icon-userpermission</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jurisdictio"></i>
                    <div class="name">权限</div>
                    <div class="fontclass">.icon-jurisdictio</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-essay"></i>
                    <div class="name">文章</div>
                    <div class="fontclass">.icon-essay</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yihuogoods"></i>
                    <div class="name">商品</div>
                    <div class="fontclass">.icon-yihuogoods</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pick"></i>
                    <div class="name">已提货</div>
                    <div class="fontclass">.icon-pick</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-adhibition"></i>
                    <div class="name">应用</div>
                    <div class="fontclass">.icon-adhibition</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucangjia"></i>
                    <div class="name">收藏夹</div>
                    <div class="fontclass">.icon-shoucangjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-store"></i>
                    <div class="name">商场</div>
                    <div class="fontclass">.icon-store</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowright"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-arrowright</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-logo"></i>
                    <div class="name">logo</div>
                    <div class="fontclass">.icon-logo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-credential"></i>
                    <div class="name">证书</div>
                    <div class="fontclass">.icon-credential</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-antonym"></i>
                    <div class="name">实名</div>
                    <div class="fontclass">.icon-antonym</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-invoice"></i>
                    <div class="name">发票管理</div>
                    <div class="fontclass">.icon-invoice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-statistics"></i>
                    <div class="name">统计信息-xz</div>
                    <div class="fontclass">.icon-statistics</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-categroy"></i>
                    <div class="name">类目 品类 分类 类别.2</div>
                    <div class="fontclass">.icon-categroy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowdown"></i>
                    <div class="name">箭头</div>
                    <div class="fontclass">.icon-arrowdown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ad"></i>
                    <div class="name">广告位</div>
                    <div class="fontclass">.icon-ad</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
